<template>
    <div>
        <select name="" id="" v-model="select">
            <option value="张三">张三</option>
            <option value="李四">李四</option>
            <option value="王五">王五</option>
        </select>
        <ul>
            <li v-for="item in list" :key="item.id">{{ item.content }}</li>
        </ul>
    </div>
</template>

<script>
import useList from './useList'
export default {
    setup() {
        const { select, list } = useList();
        return { select, list }
    }
}
</script>